# """
# 定义函数,转换数据
# """


list1 = [{'a': 1, 'b': 2, 'c': 3},
         {'a': 4, 'b': 5, 'c': 6},
         {'a': 7, 'b': 8, 'c': 9}]


def test_data():
    new_list = []
    for i in list1:
        data1 = tuple(i.values())
        new_list.append(data1)
    return new_list


print(test_data())
